package org.example.ychdp.dao;

import org.apache.ibatis.annotations.Mapper;
import org.example.ychdp.entity.Order;
import org.example.ychdp.entity.OrderExample;
import org.example.ychdp.entity.User;
import org.example.ychdp.entity.UserExample;

import java.util.Date;
import java.util.List;

@Mapper
public interface OrderDao {
    int deleteByPrimaryKey(String orderid);

    int insert(Order record);

    int insertSelective(Order record);

    Order selectByPrimaryKey(String orderid);

    int updateByPrimaryKeySelective(Order record);

    int updateByPrimaryKey(Order record);

    List<Order> selectAllOrder();

    List<Order> selectByExample(OrderExample example);

    List<Order> selectByUserId(Integer userid);
}